package com.ktjy.order.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktjy.common.annotation.Excel;
import com.ktjy.common.core.domain.BaseEntity;

/**
 * 员工信息表对象 employees
 *
 * @author ktjy
 * @date 2025-03-27
 */
@Data
@TableName("employees")
public class Employees extends BaseEntity {
private static final long serialVersionUID=1L;

        /** $column.columnComment */
            @TableId(value = "employee_id" , type = IdType.AUTO)
        private Long employeeId;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "first_name")
        private String firstName;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "last_name")
        private String lastName;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "email")
        private String email;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "phone_number")
        private String phoneNumber;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "department")
        private String department;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "position")
        private String position;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "hire_date")
        private Date hireDate;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "salary")
        private BigDecimal salary;

        /** $column.columnComment */
                @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
            @TableField(value = "is_active")
        private Integer isActive;


@Override
public String toString(){
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("employeeId" ,getEmployeeId())
        .append("firstName" ,getFirstName())
        .append("lastName" ,getLastName())
        .append("email" ,getEmail())
        .append("phoneNumber" ,getPhoneNumber())
        .append("department" ,getDepartment())
        .append("position" ,getPosition())
        .append("hireDate" ,getHireDate())
        .append("salary" ,getSalary())
        .append("isActive" ,getIsActive())
            .toString();
}
        }